<%inherit file="init_base.html"/>
<h2>${_('Peerscape Setup')}</h2>
<div id="tabNav">
    <ul>
        <li class="selected"><a href="http://admin.hexlabel.net/setup_persona/">${_('New user')}</a></li>
        <li><a href="http://admin.hexlabel.net/import_persona/">${_('Existing user')}</a></li>
    </ul>
    <div class="clr"><br/></div>
</div>
<div class="section" id="info">
    <h3>${_('New user')}</h3>
    % if errors:
        <div class="alert">${message}</div>
    % elif message:
        <div class="message">${message}</div>
    % endif

    <div class="intro">
        <p>
            ${_('Enter your name to begin (you can change this later).')}<br/>
            ${_('If you have received an invitation code you can enter it too. This is not required.')}<br/>
        </p>
    </div>
    <form id="setuppersonaForm" method="post" action="/setup_persona/">
        <dl class="single">
            <dt><label for="name">${_('Name')}</label></dt>
            <dd>
                <input type="text" class="text" name="name" id="name"/>
            </dd>
            <dt><label for="invitecode">${_('Invitation code (optional)')}</label></dt>
            <dd>
                <input type="text" class="text" name="invitecode" id="invitecode"/>
            </dd>
        </dl>
        <dl>
            <dd class="buttons">
                <input type="submit" class="submit default" value="${_('Submit')}"/>
            </dd>
        </dl>
        <div class="clr"><br/></div>
    </form>
</div>

<!-- defs -->
<%def name="title()">P2P Fusion - Peerscape | ${_('New user')}</%def>
<%def name="body_class()">
    admin
</%def>
<%def name="toplinks_style()">
</%def>

